package com.bhkj.websocketlibrary.ws;

public class WsContact {

    /**
     * 连接成功
     */
    public static final int CONNECT_SUCCESS = 0x01;
    /**
     * websocket 连接失败
     */
    public static final int CONNECT_ERROR = 0x02;
    /**
     * 打开成功
     */
    public static final int OPEN = 0x03;

    /**
     * 收到消息
     */
    public static final int RECEIVE_MSG = 0x04;

    /**
     * 关闭
     */
    public static final int CLOSE_CLIENT = 0x05;

    /**
     * socket异常
     */
    public static final int EXCEPTION = 0x06;


}
